<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../../public/stylesheets/style_main.css" />

<title>Disponibilidad de Docente</title>
<title>Disponibilidad de Docente</title>

<script languaje="JavaScript">
function options() {
if('${array[1]}'==1){document.getElementById('1').style.backgroundColor='#C0C0C0';document.getElementById('1').innerHTML='x';}
if('${array[2]}'==1){document.getElementById('2').style.backgroundColor='#C0C0C0';document.getElementById('2').innerHTML='x';}
if('${array[3]}'==1){document.getElementById('3').style.backgroundColor='#C0C0C0';document.getElementById('3').innerHTML='x';}
if('${array[4]}'==1){document.getElementById('4').style.backgroundColor='#C0C0C0';document.getElementById('4').innerHTML='x';}
if('${array[5]}'==1){document.getElementById('5').style.backgroundColor='#C0C0C0';document.getElementById('5').innerHTML='x';}
if('${array[6]}'==1){document.getElementById('6').style.backgroundColor='#C0C0C0';document.getElementById('6').innerHTML='x';}
if('${array[7]}'==1){document.getElementById('7').style.backgroundColor='#C0C0C0';document.getElementById('7').innerHTML='x';}
if('${array[8]}'==1){document.getElementById('8').style.backgroundColor='#C0C0C0';document.getElementById('8').innerHTML='x';}
if('${array[9]}'==1){document.getElementById('9').style.backgroundColor='#C0C0C0';document.getElementById('9').innerHTML='x';}
if('${array[10]}'==1){document.getElementById('10').style.backgroundColor='#C0C0C0';document.getElementById('10').innerHTML='x';}
if('${array[11]}'==1){document.getElementById('11').style.backgroundColor='#C0C0C0';document.getElementById('11').innerHTML='x';}
if('${array[12]}'==1){document.getElementById('12').style.backgroundColor='#C0C0C0';document.getElementById('12').innerHTML='x';}
if('${array[13]}'==1){document.getElementById('13').style.backgroundColor='#C0C0C0';document.getElementById('13').innerHTML='x';}
if('${array[14]}'==1){document.getElementById('14').style.backgroundColor='#C0C0C0';document.getElementById('14').innerHTML='x';}
if('${array[15]}'==1){document.getElementById('15').style.backgroundColor='#C0C0C0';document.getElementById('15').innerHTML='x';}
if('${array[16]}'==1){document.getElementById('16').style.backgroundColor='#C0C0C0';document.getElementById('16').innerHTML='x';}
if('${array[17]}'==1){document.getElementById('17').style.backgroundColor='#C0C0C0';document.getElementById('17').innerHTML='x';}
if('${array[18]}'==1){document.getElementById('18').style.backgroundColor='#C0C0C0';document.getElementById('18').innerHTML='x';}
if('${array[19]}'==1){document.getElementById('19').style.backgroundColor='#C0C0C0';document.getElementById('19').innerHTML='x';}
if('${array[20]}'==1){document.getElementById('20').style.backgroundColor='#C0C0C0';document.getElementById('20').innerHTML='x';}
if('${array[21]}'==1){document.getElementById('21').style.backgroundColor='#C0C0C0';document.getElementById('21').innerHTML='x';}
if('${array[22]}'==1){document.getElementById('22').style.backgroundColor='#C0C0C0';document.getElementById('22').innerHTML='x';}
if('${array[23]}'==1){document.getElementById('23').style.backgroundColor='#C0C0C0';document.getElementById('23').innerHTML='x';}
if('${array[24]}'==1){document.getElementById('24').style.backgroundColor='#C0C0C0';document.getElementById('24').innerHTML='x';}
if('${array[25]}'==1){document.getElementById('25').style.backgroundColor='#C0C0C0';document.getElementById('25').innerHTML='x';}
if('${array[26]}'==1){document.getElementById('26').style.backgroundColor='#C0C0C0';document.getElementById('26').innerHTML='x';}
if('${array[27]}'==1){document.getElementById('27').style.backgroundColor='#C0C0C0';document.getElementById('27').innerHTML='x';}
if('${array[28]}'==1){document.getElementById('28').style.backgroundColor='#C0C0C0';document.getElementById('28').innerHTML='x';}
if('${array[29]}'==1){document.getElementById('29').style.backgroundColor='#C0C0C0';document.getElementById('29').innerHTML='x';}
if('${array[30]}'==1){document.getElementById('30').style.backgroundColor='#C0C0C0';document.getElementById('30').innerHTML='x';}
if('${array[31]}'==1){document.getElementById('31').style.backgroundColor='#C0C0C0';document.getElementById('31').innerHTML='x';}
if('${array[32]}'==1){document.getElementById('32').style.backgroundColor='#C0C0C0';document.getElementById('32').innerHTML='x';}
if('${array[33]}'==1){document.getElementById('33').style.backgroundColor='#C0C0C0';document.getElementById('33').innerHTML='x';}
if('${array[34]}'==1){document.getElementById('34').style.backgroundColor='#C0C0C0';document.getElementById('34').innerHTML='x';}
if('${array[35]}'==1){document.getElementById('35').style.backgroundColor='#C0C0C0';document.getElementById('35').innerHTML='x';}
if('${array[36]}'==1){document.getElementById('36').style.backgroundColor='#C0C0C0';document.getElementById('36').innerHTML='x';}
if('${array[37]}'==1){document.getElementById('37').style.backgroundColor='#C0C0C0';document.getElementById('37').innerHTML='x';}
if('${array[38]}'==1){document.getElementById('38').style.backgroundColor='#C0C0C0';document.getElementById('38').innerHTML='x';}
if('${array[39]}'==1){document.getElementById('39').style.backgroundColor='#C0C0C0';document.getElementById('39').innerHTML='x';}
if('${array[40]}'==1){document.getElementById('40').style.backgroundColor='#C0C0C0';document.getElementById('40').innerHTML='x';}
if('${array[41]}'==1){document.getElementById('41').style.backgroundColor='#C0C0C0';document.getElementById('41').innerHTML='x';}
if('${array[42]}'==1){document.getElementById('42').style.backgroundColor='#C0C0C0';document.getElementById('42').innerHTML='x';}
if('${array[43]}'==1){document.getElementById('43').style.backgroundColor='#C0C0C0';document.getElementById('43').innerHTML='x';}
if('${array[44]}'==1){document.getElementById('44').style.backgroundColor='#C0C0C0';document.getElementById('44').innerHTML='x';}
if('${array[45]}'==1){document.getElementById('45').style.backgroundColor='#C0C0C0';document.getElementById('45').innerHTML='x';}
if('${array[46]}'==1){document.getElementById('46').style.backgroundColor='#C0C0C0';document.getElementById('46').innerHTML='x';}
if('${array[47]}'==1){document.getElementById('47').style.backgroundColor='#C0C0C0';document.getElementById('47').innerHTML='x';}
if('${array[48]}'==1){document.getElementById('48').style.backgroundColor='#C0C0C0';document.getElementById('48').innerHTML='x';}
if('${array[49]}'==1){document.getElementById('49').style.backgroundColor='#C0C0C0';document.getElementById('49').innerHTML='x';}
if('${array[50]}'==1){document.getElementById('50').style.backgroundColor='#C0C0C0';document.getElementById('50').innerHTML='x';}
if('${array[51]}'==1){document.getElementById('51').style.backgroundColor='#C0C0C0';document.getElementById('51').innerHTML='x';}
if('${array[52]}'==1){document.getElementById('52').style.backgroundColor='#C0C0C0';document.getElementById('52').innerHTML='x';}
if('${array[53]}'==1){document.getElementById('53').style.backgroundColor='#C0C0C0';document.getElementById('53').innerHTML='x';}
if('${array[54]}'==1){document.getElementById('54').style.backgroundColor='#C0C0C0';document.getElementById('54').innerHTML='x';}
if('${array[55]}'==1){document.getElementById('55').style.backgroundColor='#C0C0C0';document.getElementById('55').innerHTML='x';}
if('${array[56]}'==1){document.getElementById('56').style.backgroundColor='#C0C0C0';document.getElementById('56').innerHTML='x';}
if('${array[57]}'==1){document.getElementById('57').style.backgroundColor='#C0C0C0';document.getElementById('57').innerHTML='x';}
if('${array[58]}'==1){document.getElementById('58').style.backgroundColor='#C0C0C0';document.getElementById('58').innerHTML='x';}
if('${array[59]}'==1){document.getElementById('59').style.backgroundColor='#C0C0C0';document.getElementById('59').innerHTML='x';}
if('${array[60]}'==1){document.getElementById('60').style.backgroundColor='#C0C0C0';document.getElementById('60').innerHTML='x';}
if('${array[61]}'==1){document.getElementById('61').style.backgroundColor='#C0C0C0';document.getElementById('61').innerHTML='x';}
if('${array[62]}'==1){document.getElementById('62').style.backgroundColor='#C0C0C0';document.getElementById('62').innerHTML='x';}
if('${array[63]}'==1){document.getElementById('63').style.backgroundColor='#C0C0C0';document.getElementById('63').innerHTML='x';}
if('${array[64]}'==1){document.getElementById('64').style.backgroundColor='#C0C0C0';document.getElementById('64').innerHTML='x';}
if('${array[65]}'==1){document.getElementById('65').style.backgroundColor='#C0C0C0';document.getElementById('65').innerHTML='x';}
if('${array[66]}'==1){document.getElementById('66').style.backgroundColor='#C0C0C0';document.getElementById('66').innerHTML='x';}
if('${array[67]}'==1){document.getElementById('67').style.backgroundColor='#C0C0C0';document.getElementById('67').innerHTML='x';}
if('${array[68]}'==1){document.getElementById('68').style.backgroundColor='#C0C0C0';document.getElementById('68').innerHTML='x';}
if('${array[69]}'==1){document.getElementById('69').style.backgroundColor='#C0C0C0';document.getElementById('69').innerHTML='x';}
if('${array[70]}'==1){document.getElementById('70').style.backgroundColor='#C0C0C0';document.getElementById('70').innerHTML='x';}
if('${array[71]}'==1){document.getElementById('71').style.backgroundColor='#C0C0C0';document.getElementById('71').innerHTML='x';}
if('${array[72]}'==1){document.getElementById('72').style.backgroundColor='#C0C0C0';document.getElementById('72').innerHTML='x';}
if('${array[73]}'==1){document.getElementById('73').style.backgroundColor='#C0C0C0';document.getElementById('73').innerHTML='x';}
if('${array[74]}'==1){document.getElementById('74').style.backgroundColor='#C0C0C0';document.getElementById('74').innerHTML='x';}
if('${array[75]}'==1){document.getElementById('75').style.backgroundColor='#C0C0C0';document.getElementById('75').innerHTML='x';}
if('${array[76]}'==1){document.getElementById('76').style.backgroundColor='#C0C0C0';document.getElementById('76').innerHTML='x';}
if('${array[77]}'==1){document.getElementById('77').style.backgroundColor='#C0C0C0';document.getElementById('77').innerHTML='x';}
if('${array[78]}'==1){document.getElementById('78').style.backgroundColor='#C0C0C0';document.getElementById('78').innerHTML='x';}
if('${array[79]}'==1){document.getElementById('79').style.backgroundColor='#C0C0C0';document.getElementById('79').innerHTML='x';}
if('${array[80]}'==1){document.getElementById('80').style.backgroundColor='#C0C0C0';document.getElementById('80').innerHTML='x';}
if('${array[81]}'==1){document.getElementById('81').style.backgroundColor='#C0C0C0';document.getElementById('81').innerHTML='x';}
if('${array[82]}'==1){document.getElementById('82').style.backgroundColor='#C0C0C0';document.getElementById('82').innerHTML='x';}
if('${array[83]}'==1){document.getElementById('83').style.backgroundColor='#C0C0C0';document.getElementById('83').innerHTML='x';}
if('${array[84]}'==1){document.getElementById('84').style.backgroundColor='#C0C0C0';document.getElementById('84').innerHTML='x';}

}
</script>
</head>

<body onload="options();">


    <div id="page">
		
        <div id="header">
            
            <table width="300" border="0" align="right">
              <tr>
                  <th>&nbsp;</th>
                  <th>&nbsp;</th>
              </tr>
              <tr>
                  <th>SEMESTRE :</th>
                  <th>${SA.sem_vcNombre}</th>
              </tr>
	      <tr>
		<th>INICIO :</th>
                <th>${SA.getInicio()}</th>
              </tr>
              <tr>
                <th>FIN :</th>
                <th>${SA.getFin()}</th>
              </tr>
              <tr>
    		<th>DOCENTE :</th>
    		<th>Jorge CHAVEZ SOTO</th>
              </tr>
              <tr>
                <th>CODIGO :</th>
                <th>69874569</th>
              </tr>
              <tr>
              <th>FECHA ACTUAL :</th>
                <th>
                	<script>
						var f = new Date();						
							hora = new Date();
							var minutos = hora.getMinutes ();
							if (minutos<=9) minutos = "0" + minutos;
							document.write(f.getDate() + "/" + (f.getMonth() +1) + "/" + f.getFullYear()+" Hora: "+hora.getHours()+":"+minutos);
													
						</script>
                   
                </th>                
              </tr>
	</table>
            
        	<div id="headerTitle">&nbsp;</div>
            <div id="headerSubText">&nbsp;</div>
            
        </div>
        <div id="bar">

        	<div class="navLink"><a href="#">Inicio</a></div>
           	<div class="navLink"><a href="PerfilJefe">Mi perfil</a></div>
            <div class="navLink"><a href="listaDocentes">Lista de Docentes</a></div>
            <div class="navLink"><a href="periodoEnvio">Configuraci&oacute;n</a></div>
            <div class="navLink"><a href="panelControl">Panel de Control</a></div>
            <div class="navLink"><a href="@{Secure.logout()}">Salir</a></div>
            
      </div>
        <div class="contentTitle">
          <h1>DISPONIBILIDAD HORARIA</h1>
          
        </div> 
      <div class="contentText">
          <p><span style="font-weight: bold">Docente:</span> ${DC.doc_vcApellidoPaterno} ${DC.doc_vcApellidoMaterno}, ${DC.doc_vcNombres} </p>
          <p><span style="font-weight: bold">Codigo</span> ${DC.doc_vcCodigo}  </p>
          <p><span style="font-weight: bold">Fecha de Envío:</span> ${fecha}  ${hora} </p>
       <br/>
      <form name="form1" method="post" action="pdf">
        

     <table width="600" border="1" align="center" bordercolor="#0099FF">
    <tr>
      <td     scope="col"> HORA</td>
      <td   scope="col"> LUNES </td>
      <td   scope="col"> MARTES </td>
      <td   scope="col"> MIERCOLES </td>
      <td   scope="col"> JUEVES </td>
      <td   scope="col"> VIERNES </td>
      <td   scope="col"> SABADO </td>
    </tr>
    <tr>
      <td   scope="row">  08-09 am </td>
      <td id="1">&nbsp;</td>
      <td id="15">&nbsp;</td>
      <td id="29">&nbsp;</td>
      <td id="43">&nbsp;</td>
      <td id="57">&nbsp;</td>
      <td id="71">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 09-10 am </td>
      <td id="2">&nbsp;</td>
      <td id="16">&nbsp;</td>
      <td id="30">&nbsp;</td>
      <td id="44">&nbsp;</td>
      <td id="58">&nbsp;</td>
      <td id="72">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 10-11 am </td>
      <td id="3">&nbsp;</td>
      <td id="17">&nbsp;</td>
      <td id="31">&nbsp;</td>
      <td id="45">&nbsp;</td>
      <td id="59">&nbsp;</td>
      <td id="73">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 11-12 am </td>
      <td id="4">&nbsp;</td>
      <td id="18">&nbsp;</td>
      <td id="32">&nbsp;</td>
      <td id="46">&nbsp;</td>
      <td id="60">&nbsp;</td>
      <td id="74">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 12-13 pm </td>
      <td id="5">&nbsp;</td>
      <td id="19">&nbsp;</td>
      <td id="33">&nbsp;</td>
      <td id="47">&nbsp;</td>
      <td id="61">&nbsp;</td>
      <td id="75">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 13-14 pm </td>
      <td id="6">&nbsp;</td>
      <td id="20">&nbsp;</td>
      <td id="34">&nbsp;</td>
      <td id="48">&nbsp;</td>
      <td id="62">&nbsp;</td>
      <td id="76">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 14-15 pm </td>
      <td id="7">&nbsp;</td>
      <td id="21">&nbsp;</td>
      <td id="35">&nbsp;</td>
      <td id="49">&nbsp;</td>
      <td id="63">&nbsp;</td>
      <td id="77">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 15-16 pm </td>
      <td id="8">&nbsp;</td>
      <td id="22">&nbsp;</td>
      <td id="36">&nbsp;</td>
      <td id="50">&nbsp;</td>
      <td id="64">&nbsp;</td>
      <td id="78">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 16-17 pm </td>
      <td id="9">&nbsp;</td>
      <td id="23">&nbsp;</td>
      <td id="37">&nbsp;</td>
      <td id="51">&nbsp;</td>
      <td id="65">&nbsp;</td>
      <td id="79">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 17-18 pm </td>
      <td id="10">&nbsp;</td>
      <td id="24">&nbsp;</td>
      <td id="38">&nbsp;</td>
      <td id="52">&nbsp;</td>
      <td id="66">&nbsp;</td>
      <td id="80">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 18-19 pm </td>
      <td id="11">&nbsp;</td>
      <td id="25">&nbsp;</td>
      <td id="39">&nbsp;</td>
      <td id="53">&nbsp;</td>
      <td id="67">&nbsp;</td>
      <td id="81">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 19-20 pm </td>
      <td id="12">&nbsp;</td>
      <td id="26">&nbsp;</td>
      <td id="40">&nbsp;</td>
      <td id="54">&nbsp;</td>
      <td id="68">&nbsp;</td>
      <td id="82">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 20-21 pm </td>
      <td id="13">&nbsp;</td>
      <td id="27">&nbsp;</td>
      <td id="41">&nbsp;</td>
      <td id="55">&nbsp;</td>
      <td id="69">&nbsp;</td>
      <td id="83">&nbsp;</td>
    </tr>
    <tr>
      <td   scope="row"> 21-22 pm </td>
      <td id="14">&nbsp;</td>
      <td id="28">&nbsp;</td>
      <td id="42">&nbsp;</td>
      <td id="56">&nbsp;</td>
      <td id="70">&nbsp;</td>
      <td id="84">&nbsp;</td>
    </tr>
    <tr>
        <td colspan="7" style="text-align: center;">
    	 
              <input type="submit" name="button" id="button" value="Modificar Disponibilidad" /> 
              <a href="listaDocentes"><input type="submit" name="button" value="Atras" /></a>
    	    	</td>
    </tr>
  </table>
  </div>
  </form>

     
     
</div>
        <div id="footer"><a href="http://www.unmsm.edu.pe">Copyright</a> | <a href="http://www.unmsm.edu.pe">Universidad Nacional Mayor de San Marcos</a> |Ing. Software</a> | </div>
</body>
</html>